//
// Created by xusun on 2022/1/28.
//

#include<iostream>
#include<vector>

using namespace std;

class Solution {
public:
    void reverseString(vector<char> &s) {
        for (int i = 0; i < s.size() / 2; i++) {
            char t = s[s.size() - 1 - i];
            s[s.size() - 1 - i] = s[i];
            s[i] = t;
        }
    }
};